#region File Description
//  XAEnima 
//  License: GNU/GPL
//  Developer: Federico Leonardo Motta
//  File description: This Screen is used to choose users frequencies
#endregion

#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using XAEnima.gui;
using XAEnima.Core.GameManager;
using XAEnima.Core.Stimulation.Tipi;
using XAEnima.Core.Stimulation.External;
using PCClient_DLL_1_0;
#endregion



namespace XAEnima.Core.Screens.Domotica
{
    public class LuciTable : Microsoft.Xna.Framework.DrawableGameComponent
    {
        String nome;
        String Ambiente;
        String texture, swi, select;
        Dictionary<Dictionary<Boolean, String>, Vector2> row = new Dictionary<Dictionary<bool, string>, Vector2>();
        Texture2D lamp;
        List<Luce> luci;
        float cat, screenscale;
        SpriteBatch spriteBatch;
        Rectangle area;
        //UIcontainer table;

        public LuciTable(Game game, float screen/*, List<Luce> light*/)
            : base(game)
        {
            //screenscale = screen;
            //luci = light;
        }

        public override void Initialize()
        {
            screenscale = (float)(Game.GraphicsDevice.Viewport.Width / 1600f);
            spriteBatch = (Game.Services.GetService(typeof(SharedContext)) as SharedContext).sprite_batch;
            area = Game.GraphicsDevice.Viewport.TitleSafeArea;
            float x_pos = (float)Game.GraphicsDevice.Viewport.Width / 2.82f;
            float y_pos = (float)Game.GraphicsDevice.Viewport.Height / 3;
            //table = new UIcontainer("LuciTable", new Vector2(1.05f * x_pos, 1.32f * y_pos), "dialog_login", Game);
        }
    }
}
